import request from "@/utils/request";

export function loginAPI(loginVO) {
  return request({
    url: "/login",
    method: "post",
    data: loginVO,
  });
}

export function getUserInfoAPI() {
  return request({
    url: "/getUserInfo",
    method: "get",
  });
}

export function updatePasswordAPI(updatePasswordVO) {
  return request({
    url: "/updatePassword",
    method: "post",
    data: updatePasswordVO,
  });
}
